<?php
require("resources/const.php");
require_once("library/curl.php");

if (isset($_POST["login"])) {
    remoteLogin();
}
?>
<form
	action="" method="post" id="loginForm">
<!-- TODO temporary javascript in form --> <!--<input type="button" name="loginButton" value="Login" onclick="login(this.form);"/>-->
<!--  use the normal submit if javascript doesn't work/disabled -->

<button  class="btn" type="submit"
	style="background-image: url(resources/icons/login-bg.gif); background-repeat: no-repeat; background-color: FFFFFF; vertical-align: bottom; padding-left: 17px;"
	name="login" value="1"
>Login</button>
</form>
